package cn.iocoder.yudao.module.mqtt.controller.admin.devicelatestflowlog.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 水量日志分页 Request VO")
@Data
public class DeviceLatestFlowLogPageReqVO extends PageParam {

    @Schema(description = "设备ID", example = "14020")
    private Long deviceId;

    @Schema(description = "设备名称", example = "王五")
    private String deviceName;

    @Schema(description = "设备唯一标识符，全局唯一，用于识别设备")
    private String deviceKey;

    @Schema(description = "网关ID", example = "6511")
    private String gatewayId;

    @Schema(description = "日产流量")
    private String lisDay;

    @Schema(description = "全部流量")
    private String lisAll;

    @Schema(description = "年产水量")
    private String lisYear;

    @Schema(description = "月产流量")
    private String listMonth;

    @Schema(description = "时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] lisTime;

    @Schema(description = "产水流量")
    private String lisSun;

    @Schema(description = "产水累积量")
    private String lisSunAll;

    @Schema(description = "产水接收时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] lisSunTime;

    @Schema(description = "小时流量")
    private String lisSunHour;

    @Schema(description = "小时流量开始")
    private String hourBegin;

    @Schema(description = "小时流量结束")
    private String hourEnd;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}